/**
 * <p>Copyright: Copyright (c) 2012</p>
 * <p>Company: 联动优势科技有限公司</p>
 * <p>Aug 13, 2012 3:07:19 PM</p>
 * @author wangyunpeng
 * @version 1.0
 */
package com.ce.study.procum;

/** 
 * desc:
 * <p>创建人：wangyunpeng 创建日期：Aug 13, 2012 </p>
 * @version V1.0  
 */
public class TestGoodsStock{

	/**
	 * desc:
	 * <p>创建人：wangyunpeng , Aug 13, 2012 3:07:19 PM</p>
	 * @param args
	 */
	public static void main(String[] args) {
		GoodsStock stock = new GoodsStock();
		Consumer cum = new Consumer(stock,"consumer");
		cum.start();
		for (int i = 0; i < 5; i++) {
			Producter pro = new Producter(stock,"th"+i);
			pro.start();
		}
	}

}
